sysroot: Add ostree_sysroot_write_deployments_with_options()
authorColin Walters <walters@verbum.org>
Mon, 20 Mar 2017 14:19:04 +0000 (10:19 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 23 Mar 2017 19:28:42 +0000 (19:28 +0000)
commita5d5333c83c7d0a7ec477243ec602987bf104ce5
tree69a842955df339d09d4996fb5cb05c9cfed82c47
parented60a854e43ce5d4044e13cee330ed43fece9191
sysroot: Add ostree_sysroot_write_deployments_with_options()

More sophisticated users of libostree like rpm-ostree need control over things
like the system repository. Previously we introduced a "no cleanup" flag to
`ostree_sysroot_simple_write_deployment()`, but that's a high level API that
does filtering on its own.

Since rpm-ostree needs more control, let's expose the bare essentials of the
"sysroot commit" operation with an extensible options structure, where one of
the options is whether or not to do post-transaction repository operations.

Closes: #745
Approved by: jlebon
apidoc/ostree-sections.txt
src/libostree/libostree.sym
src/libostree/ostree-sysroot-deploy.c
src/libostree/ostree-sysroot-private.h
src/libostree/ostree-sysroot.c
src/libostree/ostree-sysroot.h